package com.example.petstore.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.lang.reflect.Type;
import java.time.LocalDateTime;
import java.util.Date;
//import java.sql.Date;

@Data
@TableName("usercode")
public class UserCode {
    @TableField("phonenumber")
    private String phoneNumber;
    private String code;
    @TableField(value = "createtime", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime createTime;
    private String type;
//    login为登录时的验证码，register为注册时的验证码

}
